package com.ruoyi.community.mapper;

import com.ruoyi.community.domain.HelpVoteResult;

import java.util.List;
import java.util.Map;

public interface HelpVoteResultMapper {
    int deleteByPrimaryKey(Integer resultId);

    int insert(HelpVoteResult record);

    int insertSelective(HelpVoteResult record);

    HelpVoteResult selectByPrimaryKey(Integer resultId);

    List<HelpVoteResult> selectByOption(Integer optionId);

    List<HelpVoteResult> selectByOptionAndUserId(Map map);

    int updateByPrimaryKeySelective(HelpVoteResult record);

    int updateByPrimaryKey(HelpVoteResult record);

    List<HelpVoteResult> selectByVoteId(Integer voteId);
}